//- Copyright (c) 2016 Lucky Byte, Inc.
if notify.terms_rejected && notify.terms_rejected.length > 0
  .comment.notify.todo
    .avatar
      i.big.icon.wait.green
    .content
      .author 待办事项
      .text 您修改的 <em>#{notify.terms_rejected.length} 条终端信息</em> 
        | 在复核时遭拒绝，请修改 ... 
      .actions
        a.reply(href="/terms") 转到终端管理页面
        a.reply#expand(href="#") 显示详情

      table.ui.table.celled.very.basic.small
        thead
          th.center.aligned.collapsing 序号
          th.center.aligned.collapsing 修改时间
          th.center.aligned.collapsing 终端编号
          th.center.aligned.collapsing 商户编号
          th.center.aligned.collapsing 商户名称
          th.center.aligned.collapsing 拒绝原因
          th.center.aligned 备 注
        tbody
          each term in notify.terms_rejected
            tr
              td.center.aligned.collapsing
                a(href="/terms/input/#{term.serial}")= term.serial
              td.center.aligned.collapsing
                = term.input_time.format('YYYY-MM-DD HH:mm:ss')
              td.center.aligned.collapsing= term.termid
              td.center.aligned.collapsing= term.mer_no
              td.center.aligned.collapsing= term.mer_name
              td.center.aligned.collapsing.negative= term.reject_reason
              td= term.notes
